﻿package plugin.accomplishment
{
    import morn.core.components.*;

    public class AttributeTipUI extends View
    {
        public var img_ch:View;
        public var att:Label;
        public var phy:Label;
        public var magic:Label;
        public var mp:Label;
        public var hp:Label;
        protected var uiXML:XML;

        public function AttributeTipUI()
        {
            this.uiXML = <View var=""img_ch"">
n	t	t	t  <Image url=""png.common.s9_frame"" x=""0"" y=""-1"" width=""150"" height=""140"" sizeGrid=""5,5,5,5""/>
n	t	t	t  <Label x=""15"" y=""28"" color=""0xdec026"" stroke=""0x0"" bold=""false"" text=""攻击"" var=""att""/>
n	t	t	t  <Label x=""15"" y=""48"" color=""0xdec026"" stroke=""0x0"" bold=""false"" text=""物理防御"" var=""phy""/>
n	t	t	t  <Label x=""15"" y=""68"" color=""0xdec026"" stroke=""0x0"" bold=""false"" text=""魔法防御"" var=""magic""/>
n	t	t	t  <Label x=""15"" y=""108"" color=""0xdec026"" stroke=""0x0"" bold=""false"" text=""生命值上限"" var=""mp""/>
n	t	t	t  <Label x=""15"" y=""88"" color=""0xdec026"" stroke=""0x0"" bold=""false"" text=""魔法值上限"" var=""hp""/>
n	t	t	t  <Label x=""19"" y=""7"" color=""0xff6600"" stroke=""0x0"" bold=""true"" text=""称号附加属性"" width=""110"" height=""18"" align=""center""/>
n	t	t	t</View>")("<View var="img_ch">
			  <Image url="png.common.s9_frame" x="0" y="-1" width="150" height="140" sizeGrid="5,5,5,5"/>
			  <Label x="15" y="28" color="0xdec026" stroke="0x0" bold="false" text="攻击" var="att"/>
			  <Label x="15" y="48" color="0xdec026" stroke="0x0" bold="false" text="物理防御" var="phy"/>
			  <Label x="15" y="68" color="0xdec026" stroke="0x0" bold="false" text="魔法防御" var="magic"/>
			  <Label x="15" y="108" color="0xdec026" stroke="0x0" bold="false" text="生命值上限\" var="mp"/>
			  <Label x="15" y="88" color="0xdec026" stroke="0x0" bold="false" text="魔法值上限\" var="hp"/>
			  <Label x="19" y="7" color="0xff6600" stroke="0x0" bold="true" text="称号附加属性\" width="110" height="18" align="center"/>
			</View>;
            return;
        }// end function

        override protected function createChildren() : void
        {
            createView(this.uiXML);
            return;
        }// end function

    }
}
